package com.yami.service;

import org.springframework.stereotype.Service;

@Service
public class JobService {
	
	// @Autowired
	// JobMapper jobMapper;
	//
	// public List<Job> getAllJobList() {
	// System.out.println("jobservice");
	// return jobMapper.selectByExample(null);
	// }
	//
	// public List<Job> getAvailableJobList() {
	// System.out.println("jobservice");
	// JobExample example = new JobExample();
	// Criteria criteria = example.createCriteria();
	// criteria.andStateEqualTo("A");
	// return jobMapper.selectByExample(example);
	// }
	//
	// public List<Job> getJobListByDeptId(int deptId) {
	// System.out.println("jobservice");
	// JobExample example = new JobExample();
	// Criteria criteria = example.createCriteria();
	// criteria.andDeptidEqualTo(deptId);
	// return jobMapper.selectByExample(example);
	// }
	//
	// public List<Job> getAvailableJobJobListByDeptId(int deptId) {
	// System.out.println("jobservice");
	// JobExample example = new JobExample();
	// Criteria criteria = example.createCriteria();
	// criteria.andDeptidEqualTo(deptId);
	// criteria.andStateEqualTo("A");
	// return jobMapper.selectByExample(example);
	// }
}
